package com.sharemarking.system.dto.orgVerify;

import org.springframework.util.StringUtils;

/**
 * @author dxy
 */
public class OrgVerifyListDto {
    private Integer id;
    private String orgName;
    private String mobile;
    private String memberName;
    private Integer examState;
    private String wasteTypeName;
    private String rejectReason;
    private Integer isMonthlyPay;
    private Integer orgId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Integer getExamState() {
        return examState;
    }

    public void setExamState(Integer examState) {
        this.examState = examState;
    }

    public String getWasteTypeName() {
        if (!StringUtils.isEmpty(wasteTypeName)){
            String str[] = wasteTypeName.split(",");
            if (str.length>1){
                StringBuilder s = new StringBuilder();
                s.append(str[0]).append(str[1]).append("...");
                return s.toString();
            }
        }
        return wasteTypeName;
    }

    public void setWasteTypeName(String wasteTypeName) {
        this.wasteTypeName = wasteTypeName;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public Integer getIsMonthlyPay() {
        return isMonthlyPay;
    }

    public void setIsMonthlyPay(Integer isMonthlyPay) {
        this.isMonthlyPay = isMonthlyPay;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }
}
